package com.example.demo.service.impl;

import com.example.demo.dao.LoginDao;
import com.example.demo.entity.User;
import com.example.demo.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginDao dao;
    @Override
    public User selectUser(String user_account, String password) {
        return dao.selectUser(user_account,password);
    }
}
